package activiti

import org.springframework.security.access.annotation.Secured

/**
 * 分配给以后可以访问的控制处
 */
class ActivitiAownerController {
    def utilsService

//    @Secured("IS_AUTHENTICATED_FULLY")
    @Secured("hasAnyRole('act_model')")
    def model() {//模型列表
        render(view: utilsService.ACTIVITIPATH+'/mockup/modelList');
    }

    @Secured("hasAnyRole('act_solution')")
    def solution() {//解决方案
        render(view: utilsService.ACTIVITIPATH+'/mockup/solution');
    }

}
